package exercise2;
import java.util.*;
import javax.swing.JOptionPane;;
public class ASCII {
	public static void printASCII(){
			String str=JOptionPane.showInputDialog("请输入整数");
			char a=str.charAt(0);
			int b= a;
			JOptionPane .showMessageDialog(null,"整数的ASCII码为："+b);
	}
}
